<!--   		
   		/** Dummy Function */
		function saveResourcePos(elementID, contentID){  
		}
   		
   		/** BEGIN: GROUP TAGS **/
   		
   		/**
   		* Callback function for reloadGroupTags.
 		* @param tagsArray array of all Tags for this Resource as HtmlFormattedElements
   		*/
   		function showGroupTags(tagsArray){
   			$('groupTags').update(createTagString(tagsArray));
   		}
   		
   		/**
   		* Called by the group menu to add a Tag to the actual group.
   		*/
   		function addTagToGroup(){
   			var tagForGroup = $F("addTagToGroupField");
   			if (tagForGroup=="" || tagForGroup=="Please enter a Tag"){
   			dwr.util.setValue("addTagToGroupField", "Please enter a Tag");
   			}
   			else if(checkTagKeyword(tagForGroup, "/") || checkTagKeyword(tagForGroup, "\\") || checkTagKeyword(tagForGroup, "?")){
   				dwr.util.setValue("addTagToGroupField", "Please enter a Tag");
   				alert("Tags may not contain /, ?, \\");
   			}
   			else if (tagForGroup!=null && tagForGroup!=""){
   				DWRGroupManager.addTagToActualGroup(tagForGroup, addTagToGroupCallback);
   				$('addTagToGroupField').clear();
   			}
   		}
   		
   		/**
   		 * Checks wether the keyword contains the given character
   		 */
   		function checkTagKeyword(keyword, character){
   			
   			if(keyword.indexOf(character) == -1){
   				return false;
   			}
   			else{ 
   				return true;
   			}
   		}

   		/**
   		* Called by the group menu to add a Tag to the actual group.
   		*/
   		function addTagToGroupCallback(success){
   			if (success) {
   				reloadTagCloud();
   				return;
   			}
   			else {
   				alert('Your session has expired.');
   				window.location.reload();
   				return;
   			}
   		}
   		
   		/** END: GROUP TAGS **/
   		
   		/**
   		* Dummy but needed.
   		*/
   		function removeResourceFromGroup(resVisuID){
   		}
	 	
	 	/*
	 	* Subscribe the selected group.
	 	*/
	 	function subscribeGroup(groupId){
	 		DWRUserManager.subscribeGroup(groupId, subscribeResult);
	 	}
	 	
	 	function subscribeResult(success){
	 		if (success) {
	 			$('subscribe').setStyle({display:'none'});
				$('unsubscribe').setStyle({display:'inline'});
		 		alert("Subscribtion successful.");
   			}
   			else {
   				alert('Your session has expired.');
   				window.location.reload();
   				return;
   			}
	 	}
	 	
	 	/*
	 	* Unsubscribe the selected group.
	 	*/
	 	function unsubscribeGroup(groupId){
	 		DWRUserManager.unsubscribeGroup(groupId, unsubscribeResult);
	 	}
	 	
	 	function unsubscribeResult(success){
	 		if (success) {
	 			$('subscribe').setStyle({display:'inline'});
				$('unsubscribe').setStyle({display:'none'});
		 		alert("Unsubscription successfull.");
   			}
   			else {
   				alert('Your session has expired.');
   				window.location.reload();
   				return;
   			}
	 	}
	 //-->